export interface ListQueryParams {
	pageNum: number;
	pageSize: number;
	keyword?: string | null;
	queryType?: number;
	categoryId?: string;
}

export interface PostListItem {
	avatar: null | string;
	categoryIds: string;
	createTime: string;
	creator: string;
	nickname: string;
	postId: string;
	postIntro: string;
	postName: string;
	pv: number;
	userId: string;
	username: string;
	commentNum: number;
	status: number;
	categoryNames?: string[];
}

export interface PostList {
	list: PostListItem[];
	total: number;
	pages: number;
}

export interface PostDetail {
	postId: string;
	userId: string;
	postName: string;
	postIntro: string;
	content: string;
	username: string;
	nickname: string;
	avatar: null | string;
	categoryIds: string;
	createTime: string;
	creator: string;
	pv: number;
	commentNum: number;
}
